<template>
    <div>
        <loading :loadStatus="load_status" :loading="loading" :loadingTxt="loading_txt" :hasComplete="complete_status" :completeTxt="completeTxt"></loading>        
    </div>
</template>

<script>
import loading from 'base/loading/loading'
export default {
    data(){
        return{
            items:[],
            load_status:false,//控制显示加载
            loading:true,//加载图片
            loading_txt:'支付中，请稍等',//加载文字
            complete_status:true,//用来显示完成状态
            completeTxt:'支付完成'//显示完成状态文字
        }
    },
    created(){
        let that = this
        this.load_status = true
        setTimeout(() => {
            that.loading = false
        }, 1000);
    },
    components:{
      loading
    }
}
</script>
